﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />


<!DOCTYPE html>
<html lang="zh-CN">
<head>

<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>

</head>

<body class="ihg-theme-draft">

  <%@ include file="/WEB-INF/include/header.jsp"%>
  <jsp:include page="/WEB-INF/include/submenu-session.jsp">
      <jsp:param name="currentUrl" value="${ctx.host}/sessions/${session.id}" />
  </jsp:include>

  <div class="container-fluid ihg-container has-ihg-sidemenu">

    <div class="ihg-breadcrumb">
      <ol class="breadcrumb border-breadcrumb">
        <li class="active">Session Before Preparation</li>
      </ol>
      <div class="pull-right">
        <a href="${ctx.host}/active-sessions" style="color: #155CB2;"><<&nbsp;Go Back List</a>
      </div>
    </div>

    <div class="ihg-content-layout has-operation">
      <div class="row">
        <div class="col-xs-12">
          <ul class="nav nav-tabs" role="tablist" style="margin-top: 20px;">
            <li role="preparation"><a href="${ctx.host}/sessions/${session.id}/preparations/assessor-summary" role="tab">Summary</a></li>
            <li role="preparation" class="active"><a href="${ctx.host}/sessions/${session.id}/assessor-virtual-hotel" role="tab">The virtual Hotel</a></li>
            <li role="preparation"><a href="${ctx.host}/sessions/${session.id}/certificate" role="tab">Certificate</a></li>
            <li role="preparation"><a href="${ctx.host}/sessions/${session.id}/assessor-qa-call" role="tab">Assessor Q&A Call</a></li>
          </ul>
          
          <div class="tab-content" style="margin-top: 25px;">

            <div class="col-xs-12 form-horizontal ihg-form" style="padding: 0px;">
              <div class="panel panel-default ihg-panel">
                <div class="panel-heading">
                 <span class="panel-titles text-success" style="font-size: 13px; font-weight: bold;"><i class="glyphicon glyphicon-th-large" style="top: 2px;"></i>&nbsp;&nbsp;Background Information</span>
                 <div class="pull-right">
                   <a href="${ctx.host}/ever-green/index" target="_BLANK" class="btn btn-success btn-shadow btn-shadow-success x-btn" style="width:100%;"><i class="glyphicon glyphicon-arrow-right" style="top: 2px;"></i>&nbsp;&nbsp;EverGreen Hotel</a>
                 </div>
                </div>
                <div class="panel-body" style="padding: 15px 0;">
                  <%-- <div class="form-horizontal ihg-form">
                  
                    <div class="form-group ihg-form-group" style="margin-top:15px;">
                      <div class="text-center">
                        <a href="${ctx.host}/ever-green/index" target="_BLANK" class="btn btn-success btn-shadow btn-shadow-success x-btn" style="width:30%;"><i class="glyphicon glyphicon-arrow-right" style="top: 2px;"></i>&nbsp;&nbsp;EverGreen Hotel</a>
                      </div>
                    </div>
                    <div class="col-xs-12 form-horizontal ihg-form" style="padding: 10px;"> --%>
                      <table class="table table-hover ihg-table-table has-img-table" style="margin-bottom: 0px;">
                        <thead>
                          <tr>
                            <th>NAME</th>
                            <th>EMAIL</th>
                            <th>TELEPHONE</th>
                            <th>STATUS</th>
                          </tr>
                        </thead>
                        <tbody>
                          <c:forEach var="sessionTask" items="${sessionTasks}">
                            <tr>
                              <td>${sessionTask.assessor.name}</td>
                              <td>${sessionTask.assessor.email}</td>
                              <td>${sessionTask.assessor.telephone}</td>
                              <td><label class="label label-${sessionTask.status.finish ? 'success' : 'default'}">${sessionTask.status.finish ? 'FINISH' : 'NOT START'}</label></td>
                            </tr>
                          </c:forEach>
                        </tbody>
                      </table>
                    <!--  </div>
                
                 </div> -->
                </div>
              </div>
            </div>
          
          </div>
        </div>
        
      </div>
    </div>


  </div>

  <%@ include file="/WEB-INF/include/footer.jsp"%>
  <%@ include file="/WEB-INF/include/script.jsp"%>
  
</body>

</html>

